package com.qys.livesMall.shop.scheduledTask.processor;

import com.qys.livesMall.shop.scheduledTask.task.abstrctTaks.AbstractDelayTask;
import com.qys.livesMall.shop.scheduledTask.taksEnum.TaskTypeEnum;

/**
 * @packageName:
 * @className:IDelayTaskProcessor
 * @Description:
 * @author:guomx
 * @date:2023/7/2914:44
 */
public interface IDelayTaskProcessor<T extends AbstractDelayTask> {
    // 支持的任务类型
    TaskTypeEnum supportTask();
    // 处理任务
    void process(T task);
}




